module.exports = {
    type: '类型',
    img: {
        rule: { NotNull: true },
        attr: {
            width: 750,
            height: 450
        },
        label: '图片',
        type: 'image'
    },
    title: {
        rule: { NotNull: true },
        label: '标题',
        type: 'input',
        allWidth: true
    },
    url: {
        label: '跳转地址',
        attr: {
            placeholder: '小程序内页面地址'
        },
        type: 'input',
        allWidth: true
    },
    description: {
        label: '描述',
        type: 'textarea'
    },
    sort: {
        label: '排序',
        attr: {
            type: 'number'
        },
        rule: { PositiveInt: true },
        type: 'input'
    },
    status: {
        label: '启用',
        type: 'switch'
    }
}